<?php
	require_once('includes.php');
	include_once('check_login_function.php');
	
	//This function is used in for logging out	
	if (isset($_POST['logout'])) {
		Session::close();
		header('Location: ' . DIR . '/index.php');
	}
?>